<h3><%="Derault Categories"%> </h3>

<h3>
<span id="edit_display" class=float_right><%=link_to "Edit".t,"#",:onclick=>"Element.toggle('rename');Element.toggle('edit_display');Element.toggle('edit_hide');Element.toggle('new_cat')",:class=>'admin'%></span>
<span id="edit_hide" class=float_right style="display:none"><%=link_to "Done edit".t,"#",:onclick=>"Element.toggle('rename');Element.toggle('edit_display');Element.toggle('edit_hide');Element.toggle('new_cat')",:class=>'admin'%></span>
<%="Message Categories".t%>
</h3>
<div id='rename' style="right:10px;border:0px red solid;height:<%=(@company.msg_categories.size) * 30 + 30%>px;width:78px;background:#e5e5e5;clear: both;position:absolute"></div>
<div class='activity_item'>
<span class=label>
 &nbsp; <b><%="Uncategorized".t%></b>
</span>
</div>
<div id=cat_side_show>
  <%=render :partial=>'categories/sidebar_list',:locals=>{:company=>@company,:label=>'msg',:new_cat=>nil,:project=>nil}%>
</div>

<h3>
<span id="edit_display_1" class=float_right><%=link_to "Edit".t,"#",:onclick=>"Element.toggle('rename_1');Element.toggle('edit_display_1');Element.toggle('edit_hide_1');Element.toggle('new_cat_1')",:class=>'admin'%></span>
<span id="edit_hide_1" class=float_right style="display:none"><%=link_to "Done edit".t,"#",:onclick=>"Element.toggle('rename_1');Element.toggle('edit_display_1');Element.toggle('edit_hide_1');Element.toggle('new_cat_1')",:class=>'admin'%></span>
<%="Writeboard Categories".t%>
</h3>
<div id='rename_1' style="right:10px;border:0px red solid;height:<%=(@company.file_categories.size) * 30 + 30%>px;width:78px;background:#e5e5e5;clear: both;position:absolute"></div>
<div class='activity_item'>
<span class=label>
 &nbsp; <b><%="Uncategorized".t%></b>
</span>
</div>
<div id=cat_side_show_1>
  <%=render :partial=>'categories/sidebar_list',:locals=>{:company=>@company,:label=>'wb',:new_cat=>"1",:project=>nil}%>
</div>

<h3>
<span id="edit_display_2" class=float_right><%=link_to "Edit".t,"#",:onclick=>"Element.toggle('rename_2');Element.toggle('edit_display_2');Element.toggle('edit_hide_2');Element.toggle('new_cat_2')",:class=>'admin'%></span>
<span id="edit_hide_2" class=float_right style="display:none"><%=link_to "Done edit".t,"#",:onclick=>"Element.toggle('rename_2');Element.toggle('edit_display_2');Element.toggle('edit_hide_2');Element.toggle('new_cat_2')",:class=>'admin'%></span>
<%="File Categories".t%>
</h3>
<div id='rename_2' style="right:10px;border:0px red solid;height:<%=(@company.file_categories.size + 2) * 30%>px;width:78px;background:#e5e5e5;clear: both;position:absolute"></div>
<div class='activity_item'>
<span class=label>
 &nbsp; <b><%="Uncategorized".t%></b>
</span>
</div>
<div id=cat_side_show_2>
  <%=render :partial=>'categories/sidebar_list',:locals=>{:company=>@company,:label=>'fs',:new_cat=>"2",:project=>nil}%>
</div>
